package com.library.dao;

import com.library.bean.User;

/**
 * @author Administrator
 *
 */
public interface UserDao {
	
	/**
	 * 通过用户名和密码进行查询
	 * @param username
	 * @param password
	 * @return
	 * 
	 */
	User selectUser(String username,String password);
	
	/**
	 * 通过用户名进行查询
	 * @param username
	 * @return
	 */
	User selectUser(String username);
}
